﻿
using FacebookXmpp.Parse;

namespace FacebookXmpp.Stanzas
{
	internal class AuthXFacebookPlaform : Stanza
	{
        public override string MessageToService()
		{
            Stream.AddHandler(new Challenge());
			Stream.RemoveHandler( this );
            return @"<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='X-FACEBOOK-PLATFORM'/>"; 
		}

        public override void ProcessResponse(MessageData recieved)
        { }
    }
}
